/**
 ******************************************************************************
 * @file debug.c
 * @author GX (2524913364@qq.com)
 * @brief 
 * @version 1.0.0 
 * @date 2022-07-07
 * 
 * @copyright Copyright (c) 2022
 * 
 ******************************************************************************
 *----------------------------------------------------------------------------*
 *  Remark         : Description                                              *
 *----------------------------------------------------------------------------*
 *  Change History :                                                          *
 *  <Date>     | <Version> | <Author>       | <Description>                   *
 *----------------------------------------------------------------------------*
 *  2022-07-07 | 1.0.0     | GX             | Create file                     *
 *----------------------------------------------------------------------------*
 *                                                                            *
 ******************************************************************************
 */


/*----------------------------- start of file -------------------------------*/

#ifndef _DEBUG_H
#define _DEBUG_H

#include <stdio.h>
#include <time.h>
#include <stdarg.h>   /* 实现变参函数 */

#define   DEBUG       /* 定义该宏，表示输出调试信息 */
//#define   DEBUG_TEXT  /* 定义该宏，表示输出调试信息到文本 */


#define   LOG_FILE    "./log.txt"


int initLog();
int DEBUG_PRINTF(const char *format,...);
int freeLog();





#endif /* _DEBUG_H */ 

/*------------------------------ end of file --------------------------------*/

